from django.conf.urls import url
from . import views

urlpatterns=[
    url(r'^qq/login/$',views.QQAuthURLView.as_view(),name='qqlogin'),
    url(r'^oauth_callback/',views.Oauth_callback.as_view(),name='oauth_callback'),
    #http://www.meiduo.site:8000/sms_codes/13245678909/?image_code=knc5&image_code_id=ad49d6e9-9a25-4d9e-a851-ea655199a919
    url(r'^sina/login/$', views.SinaAuthURLView.as_view(), name='sinalogin'),
    #微博登录后返回的绑定页面
    url(r'^sina_callback/', views.Sina_callback.as_view()),
    #发送数据，绑定用户
    url(r'^oauth/sina/user/', views.SinaUser.as_view()),

]